<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<div class="nav3 mb10 ta">
    <ul class="cc">
      <li class="current"><a href="$basename">未处理会员举报</a></li>
      <li><a href="$basename&action=deal">已处理会员举报</a></li>
    </ul>
</div>
<div class="admin_info mb10">
	<h2 class="h1">功能说明</h2>
	<div class="legend">
    	<ol>
        	<li>标记已处理:标记后系统会发送短消息提醒举报的用户</li>
            <li>删除:没有理由或者理由无效或者链接页面不存在，建议用删除</li>
        </ol>
    </div>
</div>
<form action="$basename" method="post" name="FORM">
  <input type="hidden" name="action" value="del">
  <input type="hidden" name="baseurl" value="$basename&type=$type&page=$page">
  <h2 class="h1">
  	<span class="fl mr20">未处理会员举报列表</span>
	<span class="fl linka">类型&nbsp;<select name="type" onchange="report_jump(this.value);">
    <option value="">全部</option>
    <option value="second" $select_second>出售房源</option>
    <option value="rent" $select_rent>出租房源</option></select></span>
    <span class="fr">[共{$totalCount}条结果]</span>
  </h2>
  <div class="admin_table mb10">
  <table width="100%" cellspacing="0" cellpadding="0">
    <tr class="tr2">
	  <td width="30"><span onclick="CheckAll(document.FORM)" class="cp">全选</span></td>
      <td width="60">类型</td>
      <td width="110">反映用户</td>
      <td width="110">反映时间</td>
      <td>原因</td>
      <td width="50">链接来源</td>
    </tr>
<!--
EOT;
if($count){
foreach($reportdb as $report){
$url = $reportService->getReportUrl($report['type'],$report['id']);
$url = $db_bbsurl."/".$url;
print <<<EOT
-->
    <tr class="tr1 vt">
      <td class="td2"><input type="checkbox" name="selid[]" value="$report[reportid]"></td>
      <td class="td2">$report[typename]</td>
      <td class="td2"><a href="u.php?uid=$report[uid]" target="_blank">$report[username]</a></td>
      <td class="td2">$report[time]</td>
      <td class="td2">$report[reason]</td>
      <td class="td2"><a href="$url" target="_blank">进入</a></td>
    </tr>
<!--
EOT;
}
}else{
print <<<EOT
-->
<tr><td class="p10" colspan="9"><div class="admin_tips">啊哦，没有你要的信息！</div></td></tr>
<!--
EOT;
}
print <<<EOT
-->
  </table>
  </div>
  <div class="cc mb10">$pages</div>
  <div class="tac mb10"><p>
  <input type="radio" name="action" value="done" checked>&nbsp;标记已处理 &nbsp;
  <input type="radio" name="action" value="del">&nbsp;删除　　　</p>
    </div>
    <div class="tac mb10">
    <span class="btn"><span><button type="submit" name="hello">提 交</button></span></span>
    </div>
</form>

<script language="JavaScript">
var basename = '$basename';
function report_jump(type){
	location.href = basename+"&type="+type;
}
</script>
<!--
EOT;
include_once PrintEot('adminbottom');
?>-->